<?php
	class hockycontroller
	{
		public $hocky_ma = "";
		public $hocky_ten = "";		
		
		public function LayMonTheoHocKy()
		{
			$data = new hockydata();
			return $data->LayMonTheoHocKy($this->hocky_ma);
		}
		
		public function Them()
		{
			$data = new hockydata();
			return $data->Them($this->hocky_ma, $this->hocky_ten);
		}
		
		public function CapNhat()
		{
			$data = new hockydata();
			return $data->CapNhat($this->hocky_ma, $this->hocky_ten);
		}
		
		public function Xoa()
		{
			$data = new hockydata();
			return $data->Xoa($this->hocky_ma);
		}
		
		public function LayDanhSach()
		{
			$data = new hockydata();
			return $data->LayDanhSach($this->hocky_ma);
		}
		public function DanhSachMonHoc()
		{
			$data = new hockydata();
			return $data->DanhSachMonHoc($this->hocky_ma);
		}
	}
?>